
package com.hlkj.pay.infrastructure.model.merchant;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 商户代付配置
 * 
 * @TableName t_merchant_payment_detail
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_merchant_payment_config_mapping")
public class MerchantPaymentConfigMappingDO extends BaseDO {
    @Schema(description = "报备 2")
    private Integer relationType;

    @Schema(description = "accountCode")
    private String accountCode;

    @Schema(description = "关联id")
    private String relationId;

    /**
     * 金额比例
     */
    @Schema(description = "金额")
    private BigDecimal payAmount;

    @Schema(description = "类型 1:固定金额 0:比例")
    private Integer type;

}
